package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcPhoneEvent;
import com.csun.cmny.provider.model.dto.phone.PhoneEventPageQuery;
import com.github.pagehelper.PageInfo;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-08 18:00
 * @Description: the class dmc phone event service.
 */
public interface DmcPhoneEventService extends IService<DmcPhoneEvent> {

    /**
     * query phone event list with page
     *
     * @param phoneEventPageQuery   the phone event query page
     *
     * @return the page info
     */
    PageInfo queryEventListWithPage(PhoneEventPageQuery phoneEventPageQuery);


    /**
     * delete phone event by device id
     *
     * @param deviceId  device id
     *
     * @return  the int.
     */
    Integer deletePhoneEventByDeviceId(Long deviceId);
}
